package com.java.al.string;

public class SubString {
	public static void main(String[] args) {
//		String name = "ddd\\df.exx";
//		int num = name.lastIndexOf(".");
//		System.out.println( num );
		String[] strs= "F:/aa/a.doc*F:/aa/b.doc".split("[*]");
		for (int i = 0; i < strs.length; i++) {
			System.out.println(strs[i]);
		}
	}
}
